package webgamemaker.Common;

import java.util.ArrayList;


public class TileSetGroup extends TileSet {

	public ArrayList<TileSet> listTileSet;
	
	public TileSetGroup(int width, int height) 
	{
		super(width, height);
		listTileSet = new ArrayList<TileSet>();
		loaded = true;
	}
	
	public void addTileSet(TileSet tileset)
	{
		listTileSet.add(tileset);
		for(int i = 0; i < tileset.tiles.size(); i++)
			tiles.add(tileset.tiles.get(i));
	}

}
